
package au.com.lastweekend.jim.actions;

import au.com.lastweekend.jim.controller.SelectedImagesController;
import au.com.lastweekend.jim.model.ContactSheetImageItem;

public class InjectThumbnailAction extends AbstractImageAction {

    public InjectThumbnailAction(SelectedImagesController controller) {

        super(controller, "Inject Thumbnail", "picture_add.png", "Inject Thumbnail", "Add thumbnail to image", "Image");

    }

    private static final long serialVersionUID = 1L;

    @Override
    protected void performImageOperation(ContactSheetImageItem imageItem) {

        getController().getImageManager().injectThumbnail(imageItem.getImageInfo());

    }

    @Override
    protected void postWorkDone() {

    }

}
